<?php use_javascript('contact.js')?>
<?php use_javascript('accountCustomer.js')?>
<?php use_javascript('accountSupplier.js')?>
<?php use_javascript('accountOwner.js')?>
<?php use_javascript('payment.js')?>
<div class="module_title">Payments</div>
<div id="paymentMenuBar" class="menu_bar">
  <?php echo link_to('Cash Payment', 'contact/search',array('id'=>'menuPaymentCash','class'=>'menu_unselected',))?>
  <?php echo link_to('Check Payment', 'contact/search',array('id'=>'menuPaymentCheck','class'=>'menu_unselected',))?>
  <?php echo link_to('Offset Payment', 'contact/search',array('id'=>'menuPaymentOffset','class'=>'menu_unselected',))?>
  <?php echo link_to('Search', 'payment/search',array('id'=>'menuPaymentSearch','class'=>'menu_unselected',))?>
</div>
<div id="<?php echo sfConfig::get('app_windows_main_id')?>">
</div>
<div id="<?php echo sfConfig::get('app_windows_contact_panel_id')?>" style="display:none">
</div>

<script language="javascript">
  $(document).ready(
    function(){
      paymentIndexLoad();
    }
  );
</script>
